package com.fightingFish.user.bean;

import java.util.Date;

/**
 * 用户
 */
public class User {
    private Integer userId;//用户id
    private String nickName;//用户昵称
    private String photoImgUrl;//用户头像地址
    private Integer anchorOrUser;//普通用户还是主播
    private State state;//用户状态(正常、禁言、封号、封停)
    private Date createTime;//用户账号创建时间
    private Double balance;//用户余额
    private String sex;//用户性别
    private String signInfo;//用户个性签名
    private Integer signDay;//用户签到天数
    private Integer userLevel;//用户等级
    private String phone;//用户手机号
    private String email;//用户邮箱
    private String veriCode;//手机验证码
    private Date deadline;//验证码过期时间

    public User(Integer userId) {
        this.userId = userId;
    }

    public User() {
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getPhotoImgUrl() {
        return photoImgUrl;
    }

    public void setPhotoImgUrl(String photoImgUrl) {
        this.photoImgUrl = photoImgUrl;
    }

    public Integer getAnchorOrUser() {
        return anchorOrUser;
    }

    public void setAnchorOrUser(Integer anchorOrUser) {
        this.anchorOrUser = anchorOrUser;
    }

    public State getState() {
        return state;
    }

    public void setState(State state) {
        this.state = state;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Double getBalance() {
        return balance;
    }

    public void setBalance(Double balance) {
            this.balance = balance;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getSignInfo() {
        return signInfo;
    }

    public void setSignInfo(String signInfo) {
        this.signInfo = signInfo;
    }

    public Integer getSignDay() {
        return signDay;
    }

    public void setSignDay(Integer signDay) {
        this.signDay = signDay;
    }

    public Integer getUserLevel() {
        return userLevel;
    }

    public void setUserLevel(Integer userLevel) {
        this.userLevel = userLevel;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getVeriCode() {
        return veriCode;
    }

    public void setVeriCode(String veriCode) {
        this.veriCode = veriCode;
    }

    public Date getDeadline() {
        return deadline;
    }

    public void setDeadline(Date deadline) {
        this.deadline = deadline;
    }

}
